package com.mfin.vo.loan;

import java.util.Date;

import com.mfin.enumeration.LoanStatus;
import com.mfin.enumeration.LoanType;
import com.mfin.vo.BaseVO;
import com.mfin.vo.CustomerVO;
import com.mfin.vo.GuarantorListVO;
import com.mfin.vo.PartnerVO;
import com.mfin.vo.UserVO;
import com.mfin.vo.finance.FinanceVO;
import com.mfin.vo.interfaces.IIdentifiableObject;

public class FinanceLoanVO extends BaseVO implements IIdentifiableObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2640604644373659550L;

	private FinanceVO finance;
	private CustomerVO customer;
	private PartnerVO partner;
	private LoanType loanType;
	private Date loanDate;
	private Double loanAmount;
	private Integer duration;
	private Double interest;
	private Double docCharges;
	private Date duedate;
	private Double installment;
	private Boolean security;
	private String secDetails;
	private LoanStatus loanStatus;
	private VehicleVO vehicle;
	private UserVO user;
	private GuarantorListVO guarantors;
	private Long loanId;

	public void setFinance(FinanceVO finance) {
		this.finance = finance;
	}

	public FinanceVO getFinance() {
		return finance;
	}

	public CustomerVO getCustomer() {
		return customer;
	}

	public void setCustomer(CustomerVO customer) {
		this.customer = customer;
	}

	public PartnerVO getPartner() {
		return partner;
	}

	public void setPartner(PartnerVO partner) {
		this.partner = partner;
	}

	public LoanType getLoanType() {
		return loanType;
	}

	public void setLoanType(LoanType loanType) {
		this.loanType = loanType;
	}

	public Date getLoanDate() {
		return loanDate;
	}

	public void setLoanDate(Date loanDate) {
		this.loanDate = loanDate;
	}

	public Double getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(Double loanAmount) {
		this.loanAmount = loanAmount;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Double getInterest() {
		return interest;
	}

	public void setInterest(Double interest) {
		this.interest = interest;
	}

	public Double getDocCharges() {
		return docCharges;
	}

	public void setDocCharges(Double docCharges) {
		this.docCharges = docCharges;
	}

	public Date getDuedate() {
		return duedate;
	}

	public void setDuedate(Date duedate) {
		this.duedate = duedate;
	}

	public Double getInstallment() {
		return installment;
	}

	public void setInstallment(Double installment) {
		this.installment = installment;
	}

	public Boolean getSecurity() {
		return security;
	}

	public void setSecurity(Boolean security) {
		this.security = security;
	}

	public String getSecDetails() {
		return secDetails;
	}

	public void setSecDetails(String secDetails) {
		this.secDetails = secDetails;
	}

	public LoanStatus getLoanStatus() {
		return loanStatus;
	}

	public void setLoanStatus(LoanStatus loanStatus) {
		this.loanStatus = loanStatus;
	}

	public VehicleVO getVehicle() {
		return vehicle;
	}

	public void setVehicle(VehicleVO vehicle) {
		this.vehicle = vehicle;
	}

	public UserVO getUser() {
		return user;
	}

	public void setUser(UserVO user) {
		this.user = user;
	}

	public GuarantorListVO getGuarantors() {
		return guarantors;
	}

	public void setGuarantors(GuarantorListVO guarators) {
		this.guarantors = guarators;
	}
	
	public Long getLoanId() {
		return loanId;
	}

	public void setLoanId(Long loanId) {
		this.loanId = loanId;
	}
}
